import { ManageCommonAPI } from '@/pages/type';

const homeTaskSearchConfig = () => {
  // 自定义各自业务中审批任务搜索字段
  const taskCheckConfig = [
    {
      fieldName: 'projectName',
      fieldType: 'String',
      fieldParam: 0,
      fieldUse: 0,
      searchType: 1,
      isSearch: 0,
      seq: 0,
    },
    {
      fieldName: 'createTime',
      fieldType: 'Date',
      fieldParam: 0,
      fieldUse: 0,
      searchType: 0,
      isSearch: 0,
      seq: 0,
    },
    // {
    //   fieldName: 'packName',
    //   fieldType: 'String',
    //   fieldParam: 0,
    //   fieldUse: 0,
    //   searchType: 0,
    //   isSearch: 0,
    //   seq: 0,
    // },
    {
      fieldName: 'purchProjectName',
      fieldType: 'String',
      fieldParam: 0,
      fieldUse: 0,
      searchType: 0,
      isSearch: 0,
      seq: 0,
    },
    {
      fieldName: 'id',
      fieldType: 'String',
      fieldParam: 0,
      fieldUse: 0,
      searchType: 1,
      isSearch: 0,
      seq: 0,
    },
    {
      fieldName: 'createDepartmentID',
      fieldType: 'String',
      fieldParam: 4,
      fieldUse: 0,
      searchType: 0,
      isSearch: 0,
      seq: 0,
    },
    {
      fieldName: 'applyerID',
      fieldType: 'String',
      fieldParam: 2,
      fieldUse: 0,
      searchType: 0,
      isSearch: 0,
      seq: 0,
    },
  ];
  return taskCheckConfig;
};

export { homeTaskSearchConfig };
